#pragma once

#include "filetype.h"
#include <string>


class Image
{
public:
	
	int width;
	int height;
	int max_value;

	FileType fileType;
	ColorRange colorRange;

	unsigned char* data;

	~Image() { delete[] data; }
	bool isGrayOrMono();
	void setVersion(std::string version);
	std::string getVersion();
	int getBytesPerPixel();
	unsigned int getSize();
};

